@import "./base.scss";

.flex{
  display: flex;
}
.column{
  display: flex;
  flex-direction: column;
}

.fColor {
  color: #bf8541;
}

/* 文字溢出隐藏 */

.overhidden {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* 无数据样式 */

.no-data {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: torem(700px);
  color: #aaa;
  font-size: torem(28px);
  flex-direction: column;
}

.no-data img {
  width: torem(261px);
  height: torem(233px);
  margin-bottom: torem(30px);
}

/* 去掉button默认样式 */

button {
  margin: 0;
  padding: 0;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  border: 0;
  line-height: 1em;
  background: 0;
  // text-align: left;
}

.button-hover {
  background: none !important;
}

button::after {
  border-radius: 0;
  border: 0;
  width: auto;
  height: auto;
  line-height: auto;
}

.hover {
  background: #f5f5f5;
}

/*点击水波纹样式  */

.ripple {
  position: relative;
  /* 隐藏溢出的径向渐变背景 */
  overflow: hidden;
}

.ripple:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  /* 设置径向渐变 */
  background-img: radial-gradient(circle, #666 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.3s, opacity 0.5s;
}

.ripple:active:after {
  transform: scale(0, 0);
  opacity: 0.3;
  /* 设置初始状态 */
  transition: 0s;
}

/* 图片动画 */

img.imgActive {
  animation: opacityChange 4s;
}

@keyframes opacityChange {
  0% {
      opacity: 0;
  }

  100% {
      opacity: 1;
  }
}

/* 弹窗样式 */

.layer {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* 点击出现弹窗动画 */

.heightShow {
  animation: scaleChange 0.5s;
}

@keyframes scaleChange {
  0% {
      transform: scaleY(0);
  }

  100% {
      transform: scaleY(1);
  }
}

/* 取药方式样式 */

.get-way-wrap .title {
  color: #333;
  font-size: torem(28px);
  padding: torem(20px) 0;
  font-weight: bold;
}

.get-way-wrap .get-wrap {
  align-items: center;
  font-size: torem(24px);
  color: #333;
}

.get-wrap .way-left {
  align-items: center;
}

.get-wrap .way-left img {
  width: torem(24px);
  height: torem(24px);
}

.get-wrap .label {
  font-weight: bold;
  margin: 0 torem(15px);
}

.get-wrap .picker {
  flex: 1;
  padding-right: torem(20px);
}

.get-wrap .way {
  flex: 1;
  align-items: center;
  justify-content: space-between;
  height: torem(40px);
}

.get-wrap.way-one {
  margin-bottom: torem(10px);
}

.get-wrap .way .address {
  width: torem(368px);
}

.get-wrap .way .store {
  width: torem(215px);
  color: #db5034;
}

.get-wrap .way .distance {
  font-size: torem(22px);
}

.get-wrap .way .choose {
  color: #db5034;
  font-size: torem(22px);
  width: torem(120px);
  display: block;
  text-align: right;
  font-weight: bold;
}

.get-way-wrap .tips {
  font-size: torem(22px);
  color: #666;
  margin: torem(10px) 0 0 torem(40px);
}

/* 加载中 */

.loading {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 99;
  background: transparent;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: torem(28px);
}

.loading img {
  width: torem(32px);
  height: torem(32px);
  margin-bottom: torem(10px);
}

/* 获取地理位置弹窗 */

.location-windows {
  width: torem(560px);
  height: torem(400px);
  background: #fff;
  border-radius: torem(10px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.location-windows  img {
  width: torem(50px);
  height: torem(50px);
  position: absolute;
  right: torem(20px);
  top: torem(20px);
  display: block;
}

.location-windows .txt {
  color: #333;
  font-size: torem(30px);
  margin: torem(80px) 0 torem(20px) 0;
  display: block;
  width: 100%;
  text-align: center;
}

.location-windows .accredit-btn {
  width: torem(266px);
  height: torem(80px);
  background-color: #db5034;
  border-radius: torem(6px);
  color: #fff;
  font-size: torem(30px);
  margin: torem(50px) 0 torem(80px) 0;
  align-items: center;
  justify-content: center;
}

